package yns.springboot.security.sample.service;

import java.util.List;

import yns.springboot.security.sample.base.service.BaseService;
import yns.springboot.security.sample.dto.UserDto;
import yns.springboot.security.sample.entity.UserEntity;

public interface UserService extends BaseService<UserEntity, UserDto> {

	public List<UserDto> getUser();

	public int addUser(UserDto userEntity);

	public UserDto getUserByName(String userName);

	public int deleteUser(int id);

	public int updateUser(UserDto userEntity);

}
